package com.shikong.blog.service;

import com.shikong.blog.common.PageResponse;
import com.shikong.blog.common.Response;
import com.shikong.blog.model.webvo.article.QueryArticleDetailReqVO;
import com.shikong.blog.model.webvo.article.QueryCategoryArticlePageListReqVO;
import com.shikong.blog.model.webvo.article.QueryIndexArticlePageListReqVO;
import com.shikong.blog.model.webvo.article.QueryTagArticlePageListReqVO;


public interface ArticleService {

    PageResponse queryIndexArticlePageList(QueryIndexArticlePageListReqVO queryIndexArticlePageListReqVO);

    PageResponse queryCategoryArticlePageList(QueryCategoryArticlePageListReqVO queryCategoryArticlePageListReqVO);

    Response queryArticleDetail(QueryArticleDetailReqVO queryArticleDetailReqVO);

    PageResponse queryTagArticlePageList(QueryTagArticlePageListReqVO queryTagArticlePageListReqVO);

    /**
     * 搜索文章
     * @param keywords 搜索关键词
     * @return
     */
    Response searchArticle(String keywords);

}
